<template>
    <view>
        <view class="bg"></view>
        
        <view class="content">
            <view class="item" @click="$gTo(`/serve/pages/fw-bx/choose-order`)">
                <view class="u-flex-1">
                    <view class="u-flex u-row-between">
                        <view class="title">伙伴计时 陪学习 数学</view>
                        <view class="status">已完成</view>
                    </view>
                    <view class="time">2023-10-27(星期五) 19:30-20:00</view>
                    <view class="item-down">
                        <image src="/static/icon/icon_01.png" class="icon-01"></image>
                        <view class="name">李同学</view>
                        <view class="male">男</view>
                        <view class="female">女</view>
                        <view class="age">12岁</view>
                    </view>
                </view>
                <u-icon name="arrow-right" color="#999999" size="34"></u-icon>
            </view>
            
            <view class="box">
                <view class="list flex-between">
                    <view class="u-p-r-15">报销金额</view>
                    <input type="digit" v-model="title" placeholder="请填写" class="inp">
                </view>
                <view class="list">
                    <view>上传图片</view>
                    <view class="img-box">
                        <image src="/static/image/up.png" class="up-icon2"></image>
                    </view>
                </view>
                <view class="list">
                    <view class="u-p-b-12">文字描述</view>
                    <textarea v-model="content" maxlength="-1" :auto-height="true" placeholder="请输入您想说的话..." class="t-inp"></textarea>
                </view>
            </view>
            
            <view class="btn">确认创建</view>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            
        }
    };
</script>

<style lang="scss">
    page{
        background-color: #f5f5f5;
    }
    .bg {
    	width: 100%;
    	height: 390rpx;
    	position: absolute;
    	top: 0;
    	left: 0;
    	z-index: -1;
    	background: linear-gradient(to bottom, #f29700, #f5f5f5);
    }
    .content{
        padding: 20rpx;
    }
    
    .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 35rpx 25rpx;
        margin-bottom: 20rpx;
        background-color: #fff;
        border-radius: 15rpx;
    }
    .title{
        flex: 1;
        font-size: 34rpx;
        font-weight: bold;
        word-break: break-all;
        white-space: pre-line;
    }
    .status{
        font-size: 24rpx;
        color: #444444;
        padding-left: 15rpx;
    }
    .time{
        font-size: 26rpx;
        color: #8e8e8e;
        padding-top: 10rpx;
    }
    .item-down{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 20rpx;
    }
    .icon-01{
        width: 37rpx;
        height: 37rpx;
        margin-right: 15rpx;
    }
    .name{
        font-size: 32rpx;
        font-weight: bold;
        padding-right: 15rpx;
    }
    .male{
        width: 34rpx;
        height: 34rpx;
        border-radius: 5rpx;
        background-color: #edf6ff;
        font-size: 26rpx;
        color: #2d96fa;
        text-align: center;
        line-height: 34rpx;
    }
    .female{
        width: 34rpx;
        height: 34rpx;
        border-radius: 5rpx;
        background-color: #ffeeed;
        font-size: 26rpx;
        color: #ff5748;
        text-align: center;
        line-height: 34rpx;
    }
    .age{
        font-size: 26rpx;
        color: #727272;
        padding-left: 15rpx;
    }
    
    .box{
        padding: 0 30rpx;
        background-color: #fff;
        border-radius: 15rpx;
        margin-bottom: 20rpx;
        font-size: 30rpx;
    }
    .list{
        padding: 30rpx 0;
        border-bottom: 2rpx solid #e6e6e6;
    }
    .list:last-child{
        border-bottom: none;
    }
    .flex-between{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .up-icon{
        width: 154rpx;
        height: 154rpx;
    }
    .inp{
        text-align: right;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .t-inp{
        width: 100%;
        min-height: 200rpx;
        height: auto;
    }
    .img-box{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 15rpx;
    }
    .up-icon2{
        width: 204rpx;
        height: 204rpx;
        margin-right: 12rpx;
    }
    .btn{
        font-size: 34rpx;
        color: #fff;
        text-align: center;
        padding: 25rpx;
        background-color: #f29700;
        border-radius: 10rpx;
        margin-top: 50rpx;
    }

</style>
